//app.js
App({
  onLaunch: function() {
    //云开发环境初始化
    wx.cloud.init({
      env: "beihua-pro-ttd7b"
    })
    // 展示本地存储能力
    var logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)
  },
  globalData: {
    userInfo: null,
    group: null,
    pGroup: null,
    flushGroup: false,
    flushView: false,
    flushExport: false,
    flushManage: false,
    flushQrCode: false
  }
})